/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 4; tab-width: 4 -*- */
/*
 * assign4
 * Copyright (C)  Michael 2008 <mikey.morckos@gmail.com>
 * 
 * assign4 is free software: you can redistribute it and/or modify it
 * under the terms of the GNU General Public License as published by the
 * Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * assign4 is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License along
 * with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef _Q2_H_
#define _Q2_H_

#include "img_wrapper.h"
#include "pos.cc"

#include <opencv/cv.h>
#include <opencv/highgui.h>

#include <gtkmm.h>
#include <gtkmm/button.h>
#include <gtkmm/main.h>

#include <glib.h>
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include <string>
#include <math.h>

using namespace Gtk;
using namespace std;

class Q2 : public Window {
	
    public:
        Q2();
		virtual ~Q2();

        void compute_Fundamental ();
		//void on_Mouse_Clicked (int, int, int, int, void*);
        void get_Epipolar ();
		void draw_Line(int, int, int, int);

    private:
		IplImage *img1, *img2;
		const char *name1, *name2;
	
		MY_Image img_data1, img_data2;
	
		int img_height, img_width;
};

#endif // _Q2_H_

